package org.test;

import java.lang.reflect.Method;

public class MainTest04 {
    public static void main(String[] args) throws Exception {
        Class<String> stringClass = String.class;
        for (Method declaredMethod : stringClass.getDeclaredMethods()) {
            System.out.println(declaredMethod);
        }
    }
}
